package cn.edu.guet.mapper.shopping;

import cn.edu.guet.bean.shopping.Shopping;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ShoppingMapper {
    List<Shopping> shopping(String bname);
    List<Shopping> findbyuserid(Integer userid);


    void update(Shopping shopping);
    String selectIsBuy(String userid, String bid);
    void insert(Shopping shopping);

}